#ifndef __CSPRITE_H__
#define __CSPRITE_H__

#include "SDL.h"
#include "cspritebase.h"

class CSprite
{
  public:
  CSprite(){}
  ~CSprite(){}
  
  int init(CSpriteBase *base, SDL_Surface *screen);

  void Draw();
  void set(int xx, int yy) { mX=xx; mY=yy; }
  
  private:
  int mX, mY;
  CSpriteBase *mSpriteBase;
  SDL_Surface *mScreen;
};

#endif //__CSPRITE_H__